﻿using EkStudio.com.bean.xml.reflection;
using System.Collections.Generic;

namespace EkStudio.com.bean.xml.ProjectMenu
{
    public class ProjectMenuModGroup
    {
        private int id = 0;
        private string key = "";
        private string caption = "";
        private string languageTexts = "";
        private string imgUrl = "";
        private List<ProjectMenuCommonElement> module;

        [Xml("id")]
        public int Id
        {
            get
            {
                return id;
            }

            set
            {
                id = value;
            }
        }
        [Xml("key")]
        public string Key
        {
            get
            {
                return key;
            }

            set
            {
                key = value;
            }
        }
        [Xml("caption")]
        public string Caption
        {
            get
            {
                return caption;
            }

            set
            {
                caption = value;
            }
        }
        [Xml("languageTexts")]
        public string LanguageTexts
        {
            get
            {
                return languageTexts;
            }

            set
            {
                languageTexts = value;
            }
        }
        [Xml("imgUrl")]
        public string ImgUrl
        {
            get
            {
                return imgUrl;
            }

            set
            {
                imgUrl = value;
            }
        }
        [XmlElement("module")]
        public List<ProjectMenuCommonElement> Module
        {
            get
            {
                return module;
            }

            set
            {
                module = value;
            }
        }
    }
}
